-
Notifications
You must be signed in to change notification settings - Fork 78
restore option to compress raster #944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
perhaps still some refactoring to clean up the code a bit, but first want opinions on the exposed parameter. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #944 +/- ##
==========================================
- Coverage 92.36% 92.36% -0.01%
==========================================
Files 48 48
Lines 7416 7450 +34
==========================================
+ Hits 6850 6881 +31
- Misses 566 569 +3
🚀 New features to boost your workflow:
|
|
Thanks @melonora, I picked this up and merged the conflicts arising after the Zarr v3 support. The tests currently fail mainly due to the disconnect between the new format options and dask, but it should be straightforward to make the PR green again after https://github.com/ome/ome-zarr-py/pull/510/changes is merged. |
closes #37
This PR adds the capability back of using either
lz4orzstdcompression at various compression levels. It is exposed through acompressorargument inwriteandwrite_elementthat takes as value adictwith key being the compression name and the value being the compression level. By default if compression is specified bytes will be reordered for more efficient compressionSHUFFLEinblosc.